/** @file config_frgui.h
 * @brief Here defined some configurations of FRGUI
 * @author - Robert Zhang <armner@gmail.com>
 *         - Heynie Yao<aheynie@gamil.com>
 * @date 2013-05
 * @version 1.0.0
 * @note
 * to use these characters of FRGUI
 * comment /uncomment lines here
 */
 
#ifndef	_CONFIG_FRGUI_H_
#define _CONFIG_FRGUI_H_

/** @def CONFIG_KEY_SHIFT
 * @brief uncomment this when use 3-key
 */
#define	CONFIG_KEY_SHIFT 1
/** @def RTOS
 * @brief 
 */
#define RTOS 1


#if defined(RTOS)
#include "FreeRTOS.h"
/** @def port_malloc(x)
 * @brief 
 */
#define port_malloc(x)     pvPortMalloc(x)
/** @def port_free(x) 
 * @brief 
 */
#define port_free(x)         vPortFree(x)
#else
/** @def port_malloc(x)
 * @brief 
 */
#define	port_malloc(x)    malloc(x)
/** @def port_free(x)
 * @brief 
 */
#define	port_free(x)        free(x)
#endif



#endif

